package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 购物车对象 bdm_cart
 * 
 * @author ruoyi
 * @date 2024-12-12
 */
@Data
public class BdmCart extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 购物车表ID */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Long productId;

    /** 商品属性 */
    @Excel(name = "商品属性")
    private String productAttrUnique;

    /** 商品数量 */
    @Excel(name = "商品数量")
    private Integer cartNum;

    /** 0 = 未购买 1 = 已购买 */
    @Excel(name = "0 = 未购买 1 = 已购买")
    private Integer isPay;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Integer isDel;

    /** 是否为立即购买 */
    @Excel(name = "是否为立即购买")
    private Integer isNew;

    /** 拼团id */
    @Excel(name = "拼团id")
    private String combinationId;

    /** 秒杀产品ID */
    @Excel(name = "秒杀产品ID")
    private String seckillId;

    /** 砍价id */
    @Excel(name = "砍价id")
    private String bargainId;

}
